package Server.network.server;

import Server.Opcodes;
import Server.world.object;

public class CharMode extends BasePacket{

	public CharMode(object cha){
		writeC(Opcodes.S_OPCODE_OBJECTMODE);
		writeD(cha.get_objectId());
		writeH(cha.get_gfxMode());
	}
	
	public byte[] send(){
		
		return getBytes();
	}
}